<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>comment</title>
    <style>
        /* 内部样式 */
        body,div,ul,li,a,p,button,input,img{
            margin: 0;
            border: 0;
            padding: 0;
            box-sizing: border-box;
        }
        a{
            text-decoration: none;
        }
        img{
            vertical-align:middle;
        }
        ul,li{
            list-style: none;
        }
        input{
            /* 清除轮廓 */
            outline:none;
            /* 溢出隐藏 */
            overflow: hidden;
        }
        .fl{
            float: left;
        }
        .fr{
            float: right;
        }
        button{
            outline:none;
        }
        /* 悬停时 */
        button:hover{
            /* 加一层0.5背景色 */
            background-color:rgba(0, 0, 250, 0.5);
            cursor:pointer;
        }
        /* 激活时 */

        /* 样式 */
        .box{
            width: 1127px;
            height: 2000px;
            background-color: rgba(0,0,0, 0.1);
            margin: auto;
            /* 阻止上外边距黏连 */
            overflow:hidden
        }
        .zhanshiqu{
            width: 1057px;
            margin: auto;
        }

        .shurukuang{
            width: 1057px;
            height: 66px;
            margin: 35px auto 0;
            background-color: #fff;
        }

        /* 在之前插入一个空的div阻止浮动对他的影响 */
        .shurukuangp:before{
            /* 清除浮动 */
            clear: both;
            /* 内容为空 */
            content: "";
            /* 定义为块级元素 */
            display: block;
        }


        .caozuo{
            width: 100%;
            height: 95px;
            margin-top: 25px;
            border-bottom: 1px solid #000;
        }

        /* 表情 */
        .biaoqing{
            width: 42px;height: 42px;
            background-color: rgba(255, 13, 5, 0.2);
        }
        /* 添加表情 */
        .tianjiabiaoqing{
            width: 100px;height: 42px;
            line-height: 42px;
            margin-left: 10px;
            font-size: 16px;
            color: rgba(0, 0, 0, 1);
        }
        /* 评论 */
        .pinglun{
            width: 112px;height: 42px;
            background-color: rgba(0, 0, 250, 0.2);
            border-radius: 5px;
            font-size: 16px;
        }


        /* 全部评论 */
        .quanbupinglun{
            margin-top: 40px;
            font-size: 18px;
        }

        .pinglunqu{
            height: 100px;
            background-color: skyblue;
            margin-top: 65px;
        }

        .touxiang{
            width: 60px;height: 60px;
            background-color: red;
        }
        .username{
            width: 60px;height: 60px;
        }


        /* 点赞 */
        .praise{
            margin-left: 26px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="zhanshiqu">
            
            <div class="shurukuang">
                <textarea name="" id="" rows="3" style="resize: none; width:1057px; border:none;overflow: hidden; padding: 0px; outline: none;font-size:16px;" ></textarea>
            </div>
            <div class="caozuo">
                <div class="fl biaoqing">
                    <img src="imgall/face.png" alt="">
                </div>
                <div class="fl tianjiabiaoqing">
                    <span>添加表情</span>
                </div>
                <button class="fr pinglun">评论</button>
            </div>


            <div class="fl quanbupinglun">
                <span>全部评论</span>
                <span>3</span>
            </div>


            <!-- 评论区 -->
            <div>
                <!-- 用户、评论 -->
                <div class="pinglunqu">
                    <div>
                        <div class="fl touxiang">
                            <img src="" alt="">头像
                        </div>
                        <div class="fl">
                            <div>用户昵称</div>
                            <div>评论内容</div>
                        </div>
                    </div>
                </div>
                <!-- 时间戳、点赞、回复、收藏 -->
                <div>
                    <!-- 时间戳 -->
                    <div class="fl" id="pinglunshijian">5小时前</div>
                    <div>
                        <div class="fr praise">
                            <img src="imgall/praisegray.png" alt="">
                            <!-- 点赞数量 -->
                            <span>5</span>
                        </div>
                        <!-- 回复 -->
                        <div class="fr news">
                            <button>
                                <img src="imgall/newsgray.png" alt="">
                            </button>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</body>
</html>